﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mfRefuseRefund.aspx.cs" Inherits="msBsc.WebUi.mMall.Seller.mfRefuseRefund" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>手机地接客商城</title>
    <%=getMeta()%>
    <link rel="stylesheet" type="text/css" href="/themes/mStyle1/mGlobal.css" charset="gbk" />
    <link rel="stylesheet" type="text/css" href="/themes/mStyle1/css/home/base.css" charset="gbk" />
    <link href="/jqPlugin/laydate/skins/default/laydate.css" rel="stylesheet" charset="gbk" />
    <link href="/themes/mStyle1/css/public/mOrder.css" rel="stylesheet" />
    <%=getBodyBeforeJs()%>

    <script type="text/javascript" src="/jqPlugin/js/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="/jqPlugin/js/jBase.js"></script>
    <script type="text/javascript" src="/jqPlugin/js/jmPage.js"></script>
    <script type="text/javascript" src="/themes/Style1/jsQt.js"></script>
    <script type="text/javascript" src="/jqPlugin/js/laytpl.js"></script>
    <script type="text/javascript" src="/themes/wStyle1/js/comm/VerifyJs.js"></script>
    <script type="themes/wStyle1/js/comm/DateInfo.js"></script>
    <script type="text/javascript">
        $(window).load(function () {
        });
        //        $(window).bind('resize', function () { _self._ResizeHandler(_self); })
        //        .bind('scroll', function () { _self._ResizeHandler(_self); });
    </script>
    <!--head fix rgn-->
    <style type="text/css">
        .reason_txt {
            width: 100%;
            height: 100px;
            border: #808080 1px solid;
            border-radius: 5px;
        }
    </style>
    <base target="_self" />
</head>
<body>
    <div class="viewport">
        <%=msBsc.WebUi.Code.QtHtmlGet.GetWapHeaderMenuHtml(true) %>
        <form action='#' method="post" id="J_EmailForm">
            <input type="hidden" id="orderId" />
            <div id="c_order" class="c_order">
              <div style="width:100%;margin-top:15px;">
                  <textarea class="reason_txt" id="reason_txt" placeholder="请输入拒绝原因"></textarea>
              </div>
                
                </div>

            <div id="order_bottom" class="order_bottom">
                <div class="lb_order order_ref">
                    <a class="btn_submit" onclick="doto()">拒绝退款</a>
                </div>
                <div class="rb_order order_ref_r">
                    <a class="btn_submit btn_change" id="submitOrder" onclick="retOrderInfo()">返回订单</a>
                </div>
                
            </div>
        </form>
        <script type="text/javascript" src="/jqPlugin/laydate/laydate.js" charset="gbk"></script>
        <script src="/themes/wStyle1/js/comm/DateInfo.js"></script>
        <script type="text/javascript">
            (function () {
                $("#h_title").text("拒绝退款");
                $("#orderId").val(GetQueryStr("orderId"));
                $.getMessageCount();
                //doto();
            })();

            function retOrderInfo() {
                window.location.href = "/ms_OrderInfo.htm?orderId=" + $("#orderId").val();
            }

            function doto() {
                var opart = new jsonRow();
                var reason_txt = $("#reason_txt").val();
                if (IsNull(reason_txt)) {
                    alert("拒绝原因不能为空");
                    return;
                }
                opart.AddCell("orderId", $("#orderId").val());
                opart.AddCell("refundExpanation", reason_txt);
                opart.AddCell("ACTION", "refuseRefund");
                ajaxComm(opart);
            }
        </script>
    </div>
</body>
<%=getBodyAfterJs() %>
</html>
